{__NOLAYOUT__}
<include file="Common:header" />
<present name="message">
    <assign name="type" value="success"/>
    <assign name="msg" value="$message"/>
<else/>
    <assign name="type" value="error"/>
    <assign name="msg" value="$error"/>
</present>
<div class="alert alert-{$type} container single-page">
    <h3>{$msg}</h3>
    <p>
        页面自动
        <a id="jump-url" href="{$jumpUrl}">跳转</a>
        <span id="wait-time">{$waitSecond}</span>
    </p>
</div>
<script>
setInterval(function(){
    if(--document.getElementById('wait-time').innerHTML <= 0)
        location.href = document.getElementById('jump-url').href;
}, 1000);
</script>
<include file="Common:footer" />
